package com.xyoto.community.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * ClassName:   我的关注用户信息辅助查询PO
 * Author:      挽风
 * Date:        2020
 * Copyright:   2020 by 挽风1.0版本
 * Description:
 *
 * @author Administrator*/

@Data
@ApiModel("我的关注用户信息列表")
public class MyFollowUserInfoPO {
    @ApiModelProperty("自增id")
    private Integer id;

    @ApiModelProperty("我的关注用户id")
    private Integer userId;

    @ApiModelProperty("我的关注用户头像")
    private String avatarUrl;

    @ApiModelProperty("我的关注用户昵称")
    private String nickname;

    @ApiModelProperty("用户的个性签名")
    private String signature;

    @ApiModelProperty("头衔名称id")
    @JsonIgnore
    private Integer titleNameId;

    @ApiModelProperty("头衔logo的id")
    @JsonIgnore
    private Integer titleLogoId;

    @ApiModelProperty("头衔")
    @JsonProperty("userTitle")
    private UserTitlePO userTitlePO;

    public MyFollowUserInfoPO() {
        this.signature = "别看我只是一只羊～";
    }

    @ApiModelProperty("我的关注用户关注状态(1:未关注，2:已关注，3:互相关注)")
    private Short followStatus;

    @ApiModelProperty("关注时间")
    private Date createTime;
}
